//
//  UIButton+YYAdd.h
//  Commom
//
//  Created by 山刘 on 2019/3/28.
//  Copyright © 2019年 山刘. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIButton (YYAdd)
+(UIButton*)buttonWithFrame:(CGRect)frame
                  TitleFont:(UIFont*)font
                        Tag:(NSInteger)tag
                TitleNormal:(NSString*)titleNormal
              TitleSelected:(NSString*)titleSelected
            BackgroundColor:(UIColor*)backgroundColor
           TitleColorNormal:(UIColor*)titleColorNormal
         TitleColorSelected:(UIColor*)titleColorSelected
      BackgroundImageNormal:(UIImage*)backgroundImageNormal
    BackgroundImageSelected:(UIImage*)backgroundImageSelected
                ImageNormal:(UIImage*)imageNormal
              ImageSelected:(UIImage*)imageSelected;

/// 扩大按钮的响应区域
- (void)setEnlargeEdgeWithTop:(CGFloat)top right:(CGFloat)right bottom:(CGFloat)bottom left:(CGFloat)left;
@end

NS_ASSUME_NONNULL_END
